<template>
	  <div id="app">
		<router-view v-if="reshow"></router-view>
	  </div>
</template>
<script>
	export default{
		name:'app',
		provide(){
			return{
				reload:this.reload,
			}
		},
		data(){
			return{
				reshow:true,
			}
		},
		methods:{
			reload(){
				this.reshow=false;
				this.$nextTick(function(){
					this.reshow=true;
				});
			}
		}
	}
</script>

<style lang="less">
	@import "./main.less";
	#app{
	  background-color: white;
	  height: @viewport-height;
	}
	/* 解决element-ui的table表格控件表头与内容列不对齐问题 */
    .el-table th.gutter{
		display: table-cell!important;
	}
</style>
